
package com.anhdt.vo;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import java.util.ArrayList;
import java.util.List;
@XStreamAlias("Categories")
public class CategoriesVO {
    private int id;
    private String name;
    private String description;
    private  List<PostVO> listPost = new ArrayList<>();

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<PostVO> getListPost() {
        return listPost;
    }

    public void setListPost(List<PostVO> listPost) {
        this.listPost = listPost;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
    
    
 
}
